package top.wyz5204.mapper;

import org.apache.ibatis.annotations.Param;
import top.wyz5204.domain.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author top.wyz5204
 * @since 2023-01-01 22:02
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {

    List<User> selectAll();

    User selectByName(@Param("name") String name);
}
